<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
    // 定义页面路径
    defined('__THEME__') ? __THEME__ : define('__THEME__', 'Theme/Pc');
    defined('__CSS__') ? __CSS__ : define('__CSS__', __THEME__ . '/' . C('DEFAULT_THEME') . '/css');
    defined('__IMAGES__') ? __IMAGES__ : define('__IMAGES__', __THEME__ . '/' . C('DEFAULT_THEME') . '/images');
    defined('__JS__') ? __JS__ : define('__JS__', __THEME__ . '/' . C('DEFAULT_THEME') . '/js');
    defined('__RES__') ? __RES__ : define('__RES__', __THEME__ . '/' . C('DEFAULT_THEME') . '/res');
    $seo_title = '操作成功';
?>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{$seo_title} - {:C('MIC_WEB_NAME')}</title>
	<Pintuer />
</head>
	<style type="text/css">
	.message_box{
		width:50%;
		height:30%;
		margin:5% 0 5% 25%;
	}
	.message_content{
		height:100%;
		padding-top:28%;
		padding-bottom:25%;
	}
	</style>
<body>
<div class="container">
	<div class="message_box">
		<div class="line">
			<div class="x12 padding-top padding-bottom text-center bg-blue bg-inverse">
				操作成功！
			</div>
			<div class="message_content border">
				<div class="text-center">
					<?php if(isset($message)) {?>
						<?php echo($message); ?>
					<?php }else{?>
						<?php echo($error); ?>
					<?php }?>
				</div>
				<div class="text-center margin-top">
					页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">立即跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	(function(){
	var wait = document.getElementById('wait'),href = document.getElementById('href').href;
	var interval = setInterval(function(){
		var time = --wait.innerHTML;
		if(time <= 0) {
			location.href = href;
			clearInterval(interval);
		};
	}, 1000);
	})();
</script>
</body>
</html>